package com.Controller;import com.Service.UserService;import com.User.User;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.stereotype.Controller;@Controllerpublic class UserController {    UserService service;    @Autowired    public UserController(UserService service)    {        this.service = service;    }    public User getUser()    {        return service.getUser();    }}